package com.xsr.mapper;

import com.xsr.pojo.Goods;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 邢式瑞
 * @version 1.0
 * @project xiaomi
 * @date 2022/9/13 21:53
 */
public interface GoodsMapper {
    @Select("select id,name,pubdate as pubDate,picture,price,star,intro,typeid from tb_goods where typeid=#{id}")
    List<Goods> selectById(Integer id);
}
